<?php
/**
 * SMS模型基类
 *
 * @copyright   Copyright 2011, Richie
 * @author      Richie <richbossman@163.com>
 * @package     SMS
 * @link        http://www.letphp.com
 * 
 * $Id: SMSModel.class.php 52 2011-03-24 15:00:25Z 442767452@qq.com $
 */
class SMSModel extends Model {
	
	/**
	 * 取得配置信息
	 *
	 * @return array
	 */
	public function getConfig(){
		return $this->table($this->tablePrefix.'set')->where('parent_id>0')->getField('var,value');
	}
}
?>